package com.community.dao;

import com.community.pojo.Log;
import org.apache.ibatis.annotations.Param;

public interface LogMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Log record);

    int insertSelective(Log record);

    Log selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Log record);

    int updateByPrimaryKey(Log record);

    int countNumByParam(@Param(value = "ip") String ip, @Param(value = "url") String url,
                        @Param(value = "time") String time);
}